<div class="m-tab s-tab">
  <h2 class="u-tt">角色管理</h2>
  <ul class="u-tabs">
    <li><a href="{$url|'AdminMemberRole/index'}">角色列表</a></li>
    <li><a href="javascript:;" class="tab-on tab-a" >{$actionName}角色</a></li>
  </ul>
</div>
<div class="m-form">
  <form name="" action="<?php echo url('AdminMemberRole/'.$action.'Data'); ?>" method="post" id="form">
    <fieldset>
        <div class="formitm">
          <label class="lab">角色名称：</label>
          <div class="ipt">
            <input name="name" type="text" class="u-ipt u-ipt-5" id="name" value="{$info.name}" maxlength="100" datatype="s" />
            <p></p>
          </div>
        </div>
      <div class="formitm formitm-1  formitm-2">
        <input name="role_id" type="hidden" value="{$info.role_id}" />
        <button class="u-btn" type="submit">保存</button>
        <button class="u-btn s-btn-c3" type="reset">重置</button>
        <span class="status" id="status"></span> </div>
    </fieldset>
  </form>
</div>
<script>
Do.ready('base','form','dialog','tabs',function() {
	$('#form').duxForm({returnUrl:'{$url|"AdminMemberRole/index"}'});
});
</script>